From: Jonas Dreßler Date: Mon, 7 Oct 2019 13:00:19 +0000 (+0200) Subject: magnifier: Use own showSystemCursor() instead of set_pointer_visible() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~59 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=725c72e020df019552ecbb63fafcdf2211839085;p=gnome-shell.git magnifier: Use own showSystemCursor() instead of set_pointer_visible() We already have our own function to show the system cursor, use it! https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/993 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 844a1506c..8e149a130 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -169,7 +169,7 @@ var Magnifier = class Magnifier { // Make sure system mouse pointer is shown when all zoom regions are // invisible. if (!activate) - this._cursorTracker.set_pointer_visible(true); + this.showSystemCursor(); // Notify interested parties of this change this.emit('active-changed', activate);